﻿
namespace xfsale.lib
{
    public class SysInfo
    {
        private string _status;
        private string _workday;
        private string _version;

        public string Status
        {
            get { return this._status; }
            set { this._status = value; }
        }

        public string StatusText
        {
            get
            {
                switch (Status)
                {
                    case "0":
                        return "日终";
                    case "1":
                        return "开市";
                    case "2":
                        return "收市";
                    case "3":
                        return "清算";
                    default:
                        return "";
                }
            }
        }

        public string WorkDay
        {
            get { return this._workday; }
            set { this._workday = value; }
        }

        public string Version
        {
            get { return this._version; }
            set { this._version = value; }
        }
    }
}
